//
//  UIViewController+PageViewController.h
//  ZSComponent
//
//  Created by HuangZuShu on 17/9/8.
//  Copyright © 2017年 Mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZSPageBarView.h"


@protocol ZSPageViewControllerDele <NSObject>


@end


@interface UIViewController (ZSPageViewController)<UIScrollViewDelegate>

//布局时使用Masonry的，所以外界需要重新布局请使用自动布局

@property(weak, nonatomic) ZSPageBarView * pageBarView;

@property(weak, nonatomic) UIScrollView * pageScrollView;

/**
 必须在viewDidLoad中调用这个方法
 */
- (void)initializePageViewControllerWithNormalColor:(UIColor *)normalColor normalFont:(UIFont *)normalFont selectedColor:(UIColor *)selectedColor selectedFont:(UIFont *)selectedFont itemTitles:(NSArray *)itemTitles cellSize:(CGSize)cellSize;

@end
